using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

using Peradigm.Framework.Domain.Security;
using Peradigm.Framework.Persistence;

namespace Liberty.Domain.GrantManagement
{
    [Serializable]
    public class PaymentType : ReferenceValue
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        #endregion

        #region Properties
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        /// <summary>
        /// Creates a stubbed payment type populated with frequently used primitives.  
        /// Other aggregated objects are not populated by this factory method.
        /// </summary>
        /// <returns></returns>
        public static PaymentType TestInstance()
        {
            PaymentType stub = new PaymentType( 12L, PaymentType.NEW_VERSION, "A Type of Payment", PaymentType.DEFAULT_RANKING, true ); 
            return stub;
        }

        /// <summary>
        /// Default constructor.  Used by the ReferenceValueBroker<T> methods to create instances.
        /// </summary>
        public PaymentType()
            : base()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="description">
        /// </param>
        /// <param name="ranking">
        /// </param>
        /// <param name="active">
        /// </param>
        public PaymentType( string description, long ranking, bool active )
            : base( description, ranking, active )
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="oid">
        /// </param>
        /// <param name="version">
        /// </param>
        /// <param name="description">
        /// </param>
        /// <param name="ranking">
        /// </param>
        /// <param name="active">
        /// </param>
        public PaymentType( long oid, byte[] version, string description, long ranking, bool active )
            : base( oid, version, description, ranking, active )
        {
        }
        #endregion

        #region Data Elements
        #endregion

    } 
} 